package com.example.tur04webservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.xml.ws.Endpoint;

@SpringBootApplication
public class Tur04webserviceApplication {

    public static void main(String[] args) {
        SpringApplication.run(Tur04webserviceApplication.class, args);

        Endpoint.publish("http://localhost:8080/baseService", new HelloService());
    }

}
